﻿namespace UpperComputer.WPF.Entry.Common
{
    public sealed class Constant
    {
        /// <summary>
        /// 管理员
        /// </summary>
        public const string ADMIN = "Admin";

        /// <summary>
        /// 计时器-间隔
        /// </summary>
        public const int TIMER_INTERVAL = 1000;

        #region 语言
        /// <summary>
        /// 语言-简体中文
        /// </summary>
        public const string LANG_ZH_CN = "zh-CN";

        /// <summary>
        /// 语言-美式英语
        /// </summary>
        public const string LANG_EN_US = "en-US";
        #endregion

        #region 数据库操作
        /// <summary>
        /// 数据库操作-新增
        /// </summary>
        public const string OPERATION_POST = "Post";

        /// <summary>
        /// 数据库操作-编辑
        /// </summary>
        public const string OPERATION_PUT = "Put";

        /// <summary>
        /// 数据库操作-删除
        /// </summary>
        public const string OPERATION_DELETE = "Delete";
        #endregion

        #region 对话框标识符
        /// <summary>
        /// 对话框标识符-根对话框
        /// </summary>
        public const string DIALOG_IDENTIFIER_ROOT = "RootDialog";

        /// <summary>
        /// 对话框标识符-菜单对话框
        /// </summary>
        public const string DIALOG_IDENTIFIER_MENU = "MenuDialog";
        #endregion

        #region 缓存键
        /// <summary>
        /// 缓存键-信息提示栏
        /// </summary>
        public const string CACHE_KEY_SNACKBAR = "Snackbar";

        /// <summary>
        /// 缓存键-菜单编码
        /// </summary>
        public const string CACHE_KEY_MENU_CODE = "MenuCode";

        /// <summary>
        /// 缓存键-角色编码
        /// </summary>
        public const string CACHE_KEY_Role_CODE = "RoleCode";
        #endregion
    }
}
 